﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HAMath
{

    [Serializable]
    public class KrigingPoint : ICloneable
    {

        public KrigingPoint(double x, double y)
        {
            this.X = x;
            this.Y = y;
        }

        //public KrigingPoint(double x, double y, double z)
        //{
        //    this.X = x;
        //    this.Y = y;
        //    this.Z = z;
        //}

        public KrigingPoint(double x, double y, object value)
        {
            this.X = x;
            this.Y = y;
            this.Value = value;
        }


        double _x;

        public double X
        {
            get { return _x; }
            set { _x = value; }
        }
        double _y;

        public double Y
        {
            get { return _y; }
            set { _y = value; }
        }
        double _z;

        public double Z
        {
            get { return _z; }
            set { _z = value; }
        }


        object _value;

        public object Value
        {
            get { return _value; }
            set { _value = value; }
        }


        public object Clone()
        {
            return this.MemberwiseClone();
        }

    }
}
